package com.wasion.pwportable.domain.po;

import com.wasion.core.db.orm.annotation.Column;
import com.wasion.core.db.orm.annotation.Id;
import com.wasion.core.db.orm.annotation.Table;

@Table(name = "indicator")
public class Indicator {

	// ID @Id主键,int类型,数据库建表时此字段会设为自增长
	@Id
	@Column(name = "_id")
	private int _id;

	// 指示器地址，无线模块地址，即为指示器编号
	@Column(name = "indicatoraddr")
	private String indicatoraddr;

	// 线路Id
	@Column(name = "lineid")
	private String lineid;

	// 指示器所属终端地址编号
	@Column(name = "terminalid")
	private String terminalid;

	// 终端地址
	private String terminaladdr;

	// 指示器所属相位
	@Column(name = "phase")
	private String phase;

	// 所属相位名称
	private String phasetext;

	// 指示器所属终端的测量点号
	@Column(name = "measurepoint")
	private int measurepoint;

	// 指示器所属指示器组组号
	@Column(name = "groupno")
	private int groupno;

	// 指示器所属支路：A,B,C相三倍递增
	@Column(name = "branch")
	private String branch;

	// 分支级数
	@Column(name = "level")
	private int level;

	// 时间
	@Column(name = "time")
	private String time;

	// 备注
	@Column(name = "remark")
	private String remark;

	// 安装位置
	@Column(name = "location")
	private String location;

	// GPS X
	@Column(name = "gpsx")
	private String gpsx;

	// GPS Y
	@Column(name = "gpsy")
	private String gpsy;

	public String getPhase() {
		return phase;
	}

	public void setPhase(String phase) {
		this.phase = phase;
	}

	public String getPhasetext() {
		return phasetext;
	}

	public void setPhasetext(String phasetext) {
		this.phasetext = phasetext;
	}

	public int getMeasurepoint() {
		return measurepoint;
	}

	public void setMeasurepoint(int measurepoint) {
		this.measurepoint = measurepoint;
	}

	public String getBranch() {
		return branch;
	}

	public void setBranch(String branch) {
		this.branch = branch;
	}

	public int getLevel() {
		return level;
	}

	public void setLevel(int level) {
		this.level = level;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public int get_id() {
		return _id;
	}

	public void set_id(int _id) {
		this._id = _id;
	}

	public String getIndicatoraddr() {
		return indicatoraddr;
	}

	public void setIndicatoraddr(String indicatoraddr) {
		this.indicatoraddr = indicatoraddr;
	}

	public int getGroupno() {
		return groupno;
	}

	public void setGroupno(int groupno) {
		this.groupno = groupno;
	}

	public String getLineid() {
		return lineid;
	}

	public void setLineid(String lineid) {
		this.lineid = lineid;
	}

	public String getTerminalid() {
		return terminalid;
	}

	public void setTerminalid(String terminalid) {
		this.terminalid = terminalid;
	}

	public String getTerminaladdr() {
		return terminaladdr;
	}

	public void setTerminaladdr(String terminaladdr) {
		this.terminaladdr = terminaladdr;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}

	public String getGpsx() {
		return gpsx;
	}

	public void setGpsx(String gpsx) {
		this.gpsx = gpsx;
	}

	public String getGpsy() {
		return gpsy;
	}

	public void setGpsy(String gpsy) {
		this.gpsy = gpsy;
	}

}
